package com.xhsj.user.sms.purchase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author suxiaolin
 * @since 2020-06-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_purchase_subtask_statement")
public class TbPurchaseSubtaskStatement extends BaseEntity<TbPurchaseSubtaskStatement> {

    private static final long serialVersionUID = 1L;


    /**
     *业务id
     */
    @TableField("data_id")
    private String dataId;

    /**
     * 合同总金额
     */
    @TableField("contract_total_money")
    private BigDecimal contractTotalMoney;

    /**
     * 应收金额
     */
    @TableField("receivable_money")
    private BigDecimal receivableMoney;

    /**
     * 应付金额
     */
    @TableField("cope_with_money")
    private BigDecimal copeWithMoney;

    /**
     * 需支付/退回金额
     */
    @TableField("payment_money")
    private BigDecimal paymentMoney;

    /**
     *  1应收 2应付
     */
    @TableField("type")
    private Integer type;


}
